﻿package bdz.common.events {
	
	import flash.events.Event;

	public class GenericEvent extends Event{
	
		public static const CHANGE:String = "gen_change";
		public static const COMPLETE:String = "gen_complete";
		public static const STARTED:String = "gen_started";
		public static const CLICKED:String = "gen_clicked";
		public static const GENERATED:String = "gen_generated";
		public static const SCROLL:String = "gen_scroll";
		public static const PROGRESS:String = "gen_progress";
		public static const LOAD_PROGRESS:String = "gen_load_progress";
		public static const PRELOADING:String = "gen_preloading";
		public static const CLOSE:String = "gen_close";
		public static const PAUSE:String = "gen_pause";
		public static const SAVE:String = "gen_save";
		public static const MATCHED:String = "gen_matched";
		public static const TRIGGER_MATCHED:String = "gen_trigger_matched";
		public static const PROGRESS_COMPLETE:String = "gen_progress_complete";
		public static const READY:String = "gen_ready";
		public static const ROLL_OVER:String = "gen_roll_over";
		public static const ROLL_OUT:String = "gen_roll_out";
		public var data:*;
		
		public function GenericEvent (type:String, _data:* = null){
			super(type);
			data = _data;
		}

		override public function clone():Event {
              return new GenericEvent(type, data);
        }

	}
}
